//
//  Register.h
//  Speedater
//
//  Created by NgoThang on 12/29/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface Register : UIViewController <MBProgressHUDDelegate, UITextFieldDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIActionSheetDelegate>
{
    UIControl *curentTargetControl;
    int trafficLightInt;
    BOOL avatarIsChanged;
    BOOL keyboardIsShown;
    NSMutableData *responseData;
    MBProgressHUD *HUD;
}

@property (nonatomic, retain) IBOutlet UIScrollView *myScrollView;
@property (nonatomic, retain) IBOutlet UIImageView *lightImageView, *avatarImageView;
@property (nonatomic, retain) IBOutlet UIButton *lightRedButton, *lightYellowButton, *lightGreenButton, *pickImageButton, *acceptTACButton, *submitButton;
@property (nonatomic, retain) IBOutlet UITextField *usernameTextField, *passwordTextField, *emailTextField;
@property (nonatomic, retain) IBOutlet UILabel *genderLabel, *searchGenderLabel, *agbLabel, *privacyPolicyLabel;

- (IBAction)lightRedButtonClick:(id)sender;
- (IBAction)lightYellowButtonClick:(id)sender;
- (IBAction)lightGreenButtonClick:(id)sender;
- (IBAction)pickImageButtonClick:(id)sender;
- (IBAction)acceptTACButtonClick:(id)sender;
- (IBAction)submitButtonClick:(id)sender;

- (void)genderLabelClick:(id)sender;
- (void)searchGenderLabelClick:(id)sender;
- (void)agbLabelClick:(id)sender;
- (void)privacyPolicyLabelClick:(id)sender;

@end
